using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._BusinessAnalystTools._SuitabilityAnalysis
{
    /// <summary>
    /// <para>Make Suitability Analysis Layer</para>
    /// <para>Creates a Suitability Analysis layer for a given input site's polygonal layer.</para>
    /// <para>为给定输入站点的面图层创建适宜性分析图层。</para>
    /// </summary>    
    [DisplayName("Make Suitability Analysis Layer")]
    public class MakeSuitabilityAnalysisLayer : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public MakeSuitabilityAnalysisLayer()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_features">
        /// <para>Input Features</para>
        /// <para>The feature layer that will be used in the creation of the Suitability Analysis layer.</para>
        /// <para>将用于创建适宜性分析图层的要素图层。</para>
        /// </param>
        /// <param name="_layer_name">
        /// <para>Layer Name</para>
        /// <para>The name of the output Suitability Analysis layer to be created.</para>
        /// <para>要创建的输出适宜性分析图层的名称。</para>
        /// </param>
        public MakeSuitabilityAnalysisLayer(object _in_features, object _layer_name)
        {
            this._in_features = _in_features;
            this._layer_name = _layer_name;
        }
        public override string ToolboxName => "Business Analyst Tools";

        public override string ToolName => "Make Suitability Analysis Layer";

        public override string CallName => "ba.MakeSuitabilityAnalysisLayer";

        public override List<string> AcceptEnvironments => ["workspace"];

        public override object[] ParameterInfo => [_in_features, _layer_name, _out_analysis_layer];

        /// <summary>
        /// <para>Input Features</para>
        /// <para>The feature layer that will be used in the creation of the Suitability Analysis layer.</para>
        /// <para>将用于创建适宜性分析图层的要素图层。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Features")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_features { get; set; }


        /// <summary>
        /// <para>Layer Name</para>
        /// <para>The name of the output Suitability Analysis layer to be created.</para>
        /// <para>要创建的输出适宜性分析图层的名称。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Layer Name")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _layer_name { get; set; }


        /// <summary>
        /// <para>Output Suitability Analysis Layer</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Suitability Analysis Layer")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_analysis_layer { get; set; }


        public MakeSuitabilityAnalysisLayer SetEnv(object workspace = null)
        {
            base.SetEnv(workspace: workspace);
            return this;
        }

    }

}